<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="/WEB-INF/tlds/nodes-faces.tld" prefix="n" %>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ page import="javax.jcr.query.Query" %>

<f:subview id="searchHeader1">
    <h:inputText styleClass="input"value="#{SearchBean.query}" size="15"/>&nbsp;&nbsp;

    <h:commandLink action="#{SearchBean.refresh}">
        <h:graphicImage value="#{NodesBean.imagePath}/searchText.png" alt="#{msg.searchButton}" title="#{msg.searchButton}"/>
    </h:commandLink>
    &nbsp;&nbsp;

    <h:panelGroup layout="block" id="search" style="display:inline"/>
    <h:graphicImage value="#{NodesBean.imagePath}/searchXpath.png" alt="#{msg.searchActionsXPath}" title="#{msg.searchActionsXPath}" onclick="runDialog('search')" style="cursor:pointer"/>
    &nbsp;&nbsp;
    <n:applet generateCode="search"
              code="offset.nodes.client.dialog.xpath.view.XPathApplet" codebase="#{NodesBean.contextPath}" jar="dialog.jar"
              width="0" height="0" rendered="#{NodesBean.appletSubstitution}">
        <f:param name="service" value="#{NodesBean.dialogPath}"/>
        <f:param name="base" value="#{NodesBean.repositoryPath}"/>
        <f:param name="path" value="#{PathBean.path}"/>
    </n:applet>

</f:subview>
